package com.tsd.jxc.stock.service;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.stock.entity.JxcStockQue;
import com.tsd.jxc.stock.entity.JxcStockQueExt;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcStockQue服务实现层接口
 *
 * @author Hillpool
 * @date 2022/08/17 14:14:28
 */
public interface JxcStockQueService {

    /**
     * 描述：根据id获取JxcStockQue
     *
     * @param id
     */
    JxcStockQue getJxcStockQueById(Long id) throws Exception;

    /**
     * 描述：根据sid获取JxcStockQue
     *
     * @param sid
     */
    JxcStockQueExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据sid列表删除JxcStockQue
     *
     * @param list
     */
    void deleteJxcStockQues(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新JxcStockQue
     *
     * @param record
     * @param opUser
     */
    void saveJxcStockQue(JxcStockQue record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询JxcStockQue
     *
     * @param params
     * @param page
     */
    List<JxcStockQueExt> findJxcStockQues(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询JxcStockQue
     *
     * @param params
     */
    List<JxcStockQueExt> findJxcStockQues(Map<String, Object> params) throws Exception;
}